/*
 * Esta classe define um form-bean com informações sobre um album.
 */
package br.unirio.bsi.dsw.AuctionSite.beans;

import java.util.ArrayList;
import org.apache.struts.action.ActionForm;

// HAS-A Relationship
public class albumForm extends ActionForm
{  
  // pagina da scroll
  private String selectedPage;
  
  // indica qual album esta selecionado
  private String selectedAlbum;

  // indica qual estilo esta selecionado
  private String selectedEstilo;
  
  // indica qual artista esta selecionado
  private String selectedArtista; 

  // indica qual artista esta selecionado
  private String search; 
  
  // lista de albums
  public ArrayList<formBeanAL> Albums = new ArrayList<formBeanAL>();
    
  // lista de musicas
  private formBeanM fieldMusica = new formBeanM();

  //
  // getters & setters
  //
  public String getSelectedPage() {
    return selectedPage;
  }

  public void setSelectedPage(String selectedPage) {
    this.selectedPage = selectedPage;
  }

  public String getSearch() {
    return search;
  }

  public void setSearch(String search) {
    this.search = search;
  }    
  
  public ArrayList<formBeanAL> getAlbums() {
    return Albums;
  }

  public void setAlbums(ArrayList<formBeanAL> Albums) {
    this.Albums = Albums;
  }  

  public formBeanM getFieldMusica() {
    return fieldMusica;
  }

  public void setFieldMusica(formBeanM fieldMusica) {
    this.fieldMusica = fieldMusica;
  }
  
  public String getSelectedAlbum() {
    return selectedAlbum;
  }

  public void setSelectedAlbum(String selectedAlbum) {
    this.selectedAlbum = selectedAlbum;
  }

  public String getSelectedArtista() {
    return selectedArtista;
  }

  public void setSelectedArtista(String selectedArtista) {
    this.selectedArtista = selectedArtista;
  }

  public String getSelectedEstilo() {
    return selectedEstilo;
  }

  public void setSelectedEstilo(String selectedEstilo) {
    this.selectedEstilo = selectedEstilo;
  }   
}
